x86/vpmu: Improve documentation and parsing for vpmu=
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 1 Feb 2019 16:56:38 +0000 (16:56 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 20 Feb 2019 13:53:04 +0000 (13:53 +0000)
commit3c5552954c5c63860ccc01c6bc4f9c077bc26072
tree91d490094436464d485e38d130b83e0fe4db3c67
parent1e12872d29cc36c61894e347dd3409d7d206699d
x86/vpmu: Improve documentation and parsing for vpmu=

The behaviour of vpmu=<bool> being exclusive of vpmu=bts|ipc|arch is odd and
contrary to Xen's normal command line parsing behaviour.  Rewrite the parsing
to use the normal form, but retain the previous behaviour where the use of
bts/ipc/arch implies vpmu=true.

Parts of the documenation are stale, most notibly the HVM-only statement.
Update it for consistency and correctness.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/arch/x86/cpu/vpmu.c